package top.kaoshanji.p3ch19b;

/**
 * 代码清单-p3ch19b-223页c：场景类
 * @author kaoshanji
 * ^_^
 * create time 2025/3/24 16:35
 */
public class Client {

    public static void main(String[] args) {

        // 原来的业务逻辑
        Target target = new ConcreteTarget();
        target.request();

        // 现在增加了适配器角色后的业务逻辑
        Target target2 = new Adapter();
        target2.request();

    }

}
